package com.freight.order.dto;


import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

@Data
public class OrderGoodsDto {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "货主Id")
    private Long companyUserId;

    @ApiModelProperty(value = "装车时间")
    private String loadingTimes;

    @ApiModelProperty(value = "起始县区列表")
    private String beginAreaCode;

    @ApiModelProperty(value = "起始地址")
    private String beginAddress;

    @ApiModelProperty(value = "结束县区列表")
    private String endAreaCode;

    @ApiModelProperty(value = "结束地址")
    private String endAddress;

    @ApiModelProperty(value = "装货经度")
    private Double beginLng;

    @ApiModelProperty(value = "装货纬度")
    private Double beginLat;

    @ApiModelProperty(value = "卸货经度")
    private Double endLng;

    @ApiModelProperty(value = "卸货纬度")
    private Double endLat;

    @ApiModelProperty(value = "装货电子围栏")
    private Double pretendEnclosure;

    @ApiModelProperty(value = "卸货电子围栏")
    private Double dischargeEnclosure;

    @ApiModelProperty(value = "收货人")
    private String takeName;

    @ApiModelProperty(value = "收货人手机号")
    private String takePhone;

    @ApiModelProperty(value = "提货人名称")
    private String extractName;

    @ApiModelProperty(value = "提货人电话")
    private String extractPhone;

    @ApiModelProperty(value = "收货联系人名称")
    private String takeContactName;

    @ApiModelProperty(value = "提货联系人名称")
    private String extracContactName;

    @ApiModelProperty(value = "计价单位 1按重量 2按体积 3按件数")
    private String valuationUnit;

    @ApiModelProperty(value = "体积")
    private Double volume;

    @ApiModelProperty(value = "件数")
    private Double piece;

    @ApiModelProperty(value = "货物一级类型")
    private String goodType;

    @ApiModelProperty(value = "货物二级类型")
    private String goodSubType;

    @ApiModelProperty(value = "备注")
    private String content;

    @ApiModelProperty(value = "运费单价")
    private BigDecimal freightUnitPrice;

    @ApiModelProperty(value = "货物重量")
    private double goodWeight;

    @ApiModelProperty(value = "运输时效")
    private double prescription;

}
